import { BrowserModule } from '@angular/platform-browser';
import { NgModule } from '@angular/core';
import { FormsModule } from '@angular/forms';
import { HttpModule } from '@angular/http';
import { routing } from "./app.routes";

import { AppComponent } from './app.component';
import { BrowserAnimationsModule } from "@angular/platform-browser/animations";
import { PageModule } from './component/page.module';

import { MyHttp } from "./service/MyHttp";
import {FileLoader} from "./service/fileLoader";



@NgModule({
  declarations: [
    AppComponent
  ],
  imports: [
    BrowserModule,
    FormsModule, 
    routing,
    PageModule,
    HttpModule,
    BrowserAnimationsModule
  ],
  providers: [    
	   MyHttp,
     HttpModule,
    FileLoader
  ],
  bootstrap: [AppComponent]
})
export class AppModule { }
